<template>
  <el-input
      v-model="formData[formData.valueName]"
      :disabled="formStatus === 'info'"
      text type="primary"
      :show-word-limit="formData.showWordLimit"
      :maxlength="formData.maxlength"
      :placeholder="formData.placeholder" />
</template>
<script setup name="singleLineInputBox">
const props = defineProps({
  formData: {
    type: Object,
    default: () => {},
    required: true
  },
  formStatus: {
    type: String,
    default: 'edit'
  }
})
console.log(props.formData)
</script>

<style scoped lang="scss">

</style>
